/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.acq.entity.areainfo;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 产地环境信息Entity
 * @author lj
 * @version 2018-04-08
 */
public class AcqAreaInfo extends DataEntity<AcqAreaInfo> {
	
	private static final long serialVersionUID = 1L;
	private String area;		// 行政区域
	private String des;		// 区划介绍
	private String photo;		// 图片信息
	
	public AcqAreaInfo() {
		super();
	}

	public AcqAreaInfo(String id){
		super(id);
	}

	@Length(min=1, max=64, message="行政区域长度必须介于 1 和 64 之间")
	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}
	
	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}
	
	@Length(min=0, max=255, message="图片信息长度必须介于 0 和 255 之间")
	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}
	
}